package bsf.baseservice.businessmq.dal;

import bsf.baseservice.businessmq.model.tb_mqerror_model;
import bsf.db.DbConn;

public class tb_mqerror_dal
{
	public boolean add2(DbConn PubConn, tb_mqerror_model model, int tablePartitionNo)
	{

		int rev = PubConn.executeSql(String.format("insert into tb_mqerror%1$s(TryCount,MQType,MQPath,MQMsgJson)" +
				" values(?,?,?,?)",tablePartitionNo),
				new Object[]{model.TryCount,model.MQType,model.MQPath,model.MQMsgJson});
		return rev == 1;

	}


}